package com.song.provider.service;

import com.song.provider.service.impl.FeignServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Author 宋伟宁
 * @Date 2024/1/9
 * @Version 1.0
 **/
//@FeignClient(name="provider-9010",fallback = FeignServiceImpl.class)
public interface FeignSerivce {

    @GetMapping("/")
    public String list();

    @GetMapping("/add")
    public String add();

    @GetMapping("/update")
    public String update();
    @GetMapping("/delete")
    public String delete();
}
